<!-- 会员 - 餐厅充值单- 组件 -->
<template>
  <div>
    <div class="bill-card-box" :class="ticketMode ? 'show' : 'hide'">
      <div class="title">一粒米餐厅</div>
      <div class="desc">【充值单】</div>
      <div class="desc-item">
        <div>会员卡号：</div>
        <span>XD22152025420</span>
      </div>
      <div class="desc-item">
        <div>会员手机号：</div>
        <span>123****4223</span>
      </div>
      <div class="desc-item">
        <div>会员名称：</div>
        <span>李先生</span>
      </div>
      <div class="desc-item">
        <div>余额：</div>
        <span>360.00</span>
      </div>
      <div class="desc-item">
        <div>积分：</div>
        <span>0</span>
      </div>
      <div class="split-line"></div>
      <div class="desc-item">
        <div>充值金额（本金）：</div>
        <span>200.00</span>
      </div>
      <div class="desc-item">
        <div>充值类型：</div>
        <span>套餐充值</span>
      </div>
      <div class="desc-item">
        <div>支付方式：</div>
        <div>微信支付</div>
      </div>
      <div class="split-line"></div>
      <div class="desc-item">
        <div>收银员：</div>
        <span>张腾</span>
      </div>
      <!-- <div class="desc-item">
        <div>营销员：</div>
        <span>XD22152025420</span>
      </div> -->
      <div class="desc-item">
        <div>流水号：</div>
        <span>20210825_0005</span>
      </div>
      <div class="desc-item">
        <div>客户签名：</div>
        <span></span>
      </div>
    </div>
  </div>
</template>

<script setup>
// import { computed } from 'vue'
// import { useStore } from 'vuex'

// const store = useStore()
// const ticketMode = computed(() => store.getters.ticketMode)
</script>

<style lang="scss" scoped>
.hide {
  display: none;
}
.show {
  display: block;
  width: 420px;
  transition: all 1s;
}
.minHeight {
  height: 720px;
}
.maxHeight {
  height: 984px;
}
.bill-card-box {
  height: 984px;
  width: 420px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 3px 0px 24px 0px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  padding: 30px 30px 0 30px;
  .title {
    font-size: 20px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    text-align: center;
    color: #333333;
  }
  .desc {
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    text-align: center;
    color: #333333;
    margin: 10px 0;
  }
  .desc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: 700;
    color: #333333;
    margin-top: 10px;
  }
  .split-line {
    width: 360px;
    height: 1px;
    background: #e2e2e2;
    margin-top: 10px;
  }
}
</style>
